package pingpongdojo.model;

import pingpongdojo.model.demo.DemoModelFactory;

public abstract class ModelFactory {

	private static ModelFactory instance = null;

	public static ModelFactory getInstance() {
		if(instance == null) {
			instance = new DemoModelFactory();
		}
	    return instance;
	}

	protected ModelFactory() {
	}

	public abstract UserManager getUserManager();

	public abstract GameManager getGameManager();

}
